<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>花语花坊</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/base.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pay.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/normalize.css"/>
    <script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/base.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/pay.js"></script>
</head>

<body>
<header>
    <a href="#">
        <img src="${pageContext.request.contextPath}/static/images/header.jpg" height="80" width="100%" alt="">
    </a>
</header>
<div class="shortcut">
    <div class="w">
        <ul class="fl city">
            <li><i class="f10"></i><a href="#">天津</a></li>
        </ul>
        <ul class="fr nav">
            <c:if test="${!empty member.member_name}">
                <li>
                    <a href="${pageContext.request.contextPath}/member/getuserdetail" style="display: inline">你好，${member.member_name}</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </li>
                <li>
                    <a href="${pageContext.request.contextPath}/member/getloglogin" style="display: inline">退出登录</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </li>
            </c:if>


            <%--<li>
                <a href="${pageContext.request.contextPath}/member/getlogin" style="display: inline">登录</a></li>
                <li class="space">
                </li>--%>
            <c:if test="${empty member.member_name}">
                <li class="space"></li>
                <li>
                    <a href="${pageContext.request.contextPath}/getlogin" style="display: inline">你好，请登录</a>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </li>
                <li>
                    <a href="${pageContext.request.contextPath}/getregister" class="f10"  style="display: inline">免费注册</a>
                </li>
                <li class="space"></li>
                <li>
                    <a href="${pageContext.request.contextPath}/member/getpay"  style="display: inline">我的订单</a>
                </li>
                <li class="space"></li>
            </c:if>

            <li>
                <a href="#">客户服务</a>
                <i></i>
                <div class="dropdown-layer">
                    <dl class="d">
                        <dd><a href="#">待处理订单</a></dd>
                        <dd><a href="#">返修退换货</a></dd>
                        <dd><a href="#">降价商品</a></dd>
                    </dl>
                    <dl class="d">
                        <dd><a href="#">消息</a></dd>
                        <dd><a href="#">我的问答</a></dd>
                        <dd><a href="#">我的关注</a></dd>
                    </dl>
                    <dl>
                        <dd><a href="#">我的优惠券</a></dd>
                    </dl>
                </div>
            </li>

            <li class="space"></li>
            <li>
                <div>
                    <a>花语花坊鲜花网：非常棒的鲜花网品牌</a>
                </div>


            </li>

        </ul>
    </div>
</div>
<div class="m">
    <div class="w middle">
        <div class="logo">
            <h1>  <!-- 提高权重 便利于搜索引擎优化 -->
                <a href="${pageContext.request.contextPath}/member/getindex" title="花语花坊">花语花坊</a>
            </h1>
        </div>
        <form class="form" action="${pageContext.request.contextPath}/product/findproductListSelect" method="post">
            <input id="text" name="SelectName" type="text" placeholder="商品搜索">
            <button type="submit"><i></i></button>
        </form>
        <div class="shopCar">
            <i></i><a href="${pageContext.request.contextPath}/member/getcart" class="f10">我的购物车</a><span>${countShopping}</span>
        </div>
        <div class="hotwords">
            <a href="#">红玫瑰</a>
            <a href="#">永生花</a>
            <a href="#">生日鲜花</a>
            <a href="#">礼品卡</a>
        </div>
        <div class="navitems">
            <ul>
                <li><a href="${pageContext.request.contextPath}/member/getindex">首页</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">鲜花</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">永生花</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">蛋糕</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">礼品</a></li>
                <li class="space "></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">巧克力</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">花语大全</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">企业团购</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getproducandproductimageList">设计师甄选鲜花</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="content">
    <div class="w">
        <p>填写并核对订单信息</p>
        <div class="content-top">
            <div class="message">
                <p>收件人信息</p>
                <div class="address">
                    <span>${member.member_nickname} ${address.address_name}</span>
                    <p>${member.member_nickname}  <%--北京市海淀区三环内 中关村软件园9号楼--%>  ${member.member_phone}</p>
                </div>
                <a href="#">更多地址</a>
            </div>
            <div class="message">
                <p>物流方式</p>
                <ul class="kuaidi">
                    <li class="current"><i></i><span>顺丰</span></li>
                    <%--<li><i></i><span>中通</span></li>
                    <li><i></i><span>圆通</span></li>
                    <li><i></i><span>邮政</span></li>
                    <li><i></i><span>百世</span></li>--%>
                </ul>
            </div>
            <div class="message">
                <p>支付方式</p>
                <ul class="m-pay">
                   <%-- <li class="current">银联</li>
                    <li>微信</li>--%>
                    <li class="current">支付宝</li>
                </ul>
            </div>
            <div class="message">
                <p>送货清单</p>
                <div class="me-bt">
                    <span>配送方式</span>
                    <div class="me-bb">
                        <span><i>顺丰</i>快递</span>
                        <p>配送时间：预计7月16日（周三）09:00-15:00送达</p>
                        <a href="#">修改</a>
                    </div>
                </div>
                <c:forEach items="${shoppingListPay}" var="shopping" varStatus="i">
                    <div class="me-bd">
                        <span>订单详情</span>
                        <div class="me-bs">
                            <span>
                                <img src="${shopping.product.productimages_src}" width="100%" alt="">
                            </span>
                            <p>
                                ${shopping.product.product_name}
                                <i>7天无理由退货</i>
                            </p>
                            <div class="price">￥${shopping.product.product_price*shopping.shopping_product_amount}</div>
                            <div class="num">X${shopping.shopping_product_amount}</div>
                            <a href="#">有货</a>
                        </div>
                    </div>
                </c:forEach>
            </div>
            <div class="message clearfix me-line">
                <p>发票信息</p>
                <div class="address">
                    <span style="font-size: 12px;">普通发票（电子）     个人     明细     <a href="#">修改</a></span>
                </div>
                <dl>
                    <dt>${countShopping}件商品，总商品金额：</dt><dd>¥${sum_price}</dd>
                    <dt>返现：</dt><dd>-¥0.00</dd>
                    <dt>运费：</dt><dd class="mess-red">¥6.00</dd>
                </dl>
            </div>
            <div class="me-money">
                <p>应付总额 ： <span>¥${true_price}</span></p>
                <p>寄送至：${address.address_name}<%--北京市海淀区三环内 中关村软件园9号楼--%>  收货人：${member.member_nickname}  ${member.member_phone}</p>
            </div>
            <a href="${pageContext.request.contextPath}/homepay" class="me-commit">提交订单</a>
        </div>
    </div>
</div>

<%--<%@include file="/elements/index_bottom_a.html"%>--%>
</body>